﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPages/Public.master" Async="true"
    AutoEventWireup="true" CodeFile="RecoverPassword.aspx.cs" Inherits="RecoverPassword" %>

<asp:Content ID="Content1" ContentPlaceHolderID="cphHead" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cphBodyContent" runat="Server">
    <div style="height:300px;">
        <asp:Panel ID="pnlRecoveryFirstStep" Width="600" runat="server">
            <table cellpadding="2" cellspacing="2" border="0">
                <tr>
                    <td colspan="3">
                        <b><asp:Label ID="Label1" runat="server" Text="Recover your password"></asp:Label></b>
                    </td>
                </tr>
                <tr>
                    <td colspan="3">
                        <asp:Label ID="lblNotifier" runat="server" Text=""></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td>
                        Username
                    </td>
                    <td>
                        <asp:TextBox ID="txtUserName" runat="server" Width="166px"></asp:TextBox>
                    </td>
                    <td valign="middle">
                        <span style="color: Red">*</span>
                        <asp:RequiredFieldValidator Display="Static" ID="RequiredFieldValidator1" runat="server"
                            ControlToValidate="txtUserName" ErrorMessage="Required"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                        <asp:Button ID="btnSendRecoverMail" runat="server" OnClick="btnSendRecoverMail_Click"
                            Text="proceed" Width="166px" />
                    </td>
                    <td class="style3">
                    </td>
                </tr>
            </table>
        </asp:Panel>
        <asp:Panel ID="pnlRecoverySecondStep" Width="600" runat="server">
            <table style="width: 200px">
              <tr>
                    <td colspan="2">
                       <b> <asp:Label ID="Label2" runat="server" Text="Recover your password"></asp:Label></b>
                    </td>
                </tr>
                <tr>
                    <td>
                        
                    <asp:CompareValidator runat="server" ID="Comp1" ControlToValidate="txtPassword" ControlToCompare="txtConfirmPassword" Text="Password mismatch" />

                    </td>
                    <td>
                        &nbsp;
                    </td>
                </tr>
                <tr>
                    <td>
                        Password
                    </td>
                    <td>
                        <asp:TextBox ID="txtPassword" TextMode="Password" runat="server" Width="222px"></asp:TextBox>
                    </td>
                    <td valign="middle">
                        <span style="color: Red">*</span>
                        <asp:RequiredFieldValidator Display="Static" ID="RequiredFieldValidator2" runat="server"
                            ControlToValidate="txtPassword" ErrorMessage="Required"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td>
                        Confirm Password
                    </td>
                    <td>
                        <asp:TextBox ID="txtConfirmPassword" TextMode="Password" runat="server" Width="222px"></asp:TextBox>
                    </td>
                      <td valign="middle">
                        <span style="color: Red">*</span>
                        <asp:RequiredFieldValidator Display="Static" ID="RequiredFieldValidator3" runat="server"
                            ControlToValidate="txtConfirmPassword" ErrorMessage="Required"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                        <asp:Button ID="btnChangePassword" runat="server" Text="ChangePassword" 
                            Width="223px" onclick="btnChangePassword_Click" />
                    </td>
                </tr>
            </table>
        </asp:Panel>
    </div>
</asp:Content>
